.sphinx-tabs {
    margin-bottom: 2em;
}

.sphinx-tabs .sphinx-menu a.item {
    color: #2980b9 !important;
}

.sphinx-tabs .sphinx-menu {
    border-bottom-color: #a0b3bf !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.sphinx-tabs .sphinx-menu a.active.item {
    border-color: #a0b3bf !important;
}

.sphinx-tab {
    border-color: #a0b3bf !important;
    box-sizing: border-box;
}

.tab div[class^='highlight']:last-child {
    margin-bottom: 0;
}

.tab .wy-plain-list-disc:last-child,
.rst-content .section ul:last-child,
.rst-content .toctree-wrapper ul:last-child,
article ul:last-child {
    margin-bottom: 0;
}

/* Code tabs don't need the code-block border */
.code-tab.tab {
    padding: 0.4em !important;
}

.code-tab.tab div[class^='highlight'] {
    border: none;
}
